package com.chixing.ih.config;

import com.chixing.ih.util.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 目的:
 *
 * @author ：zcw
 * @version: 1.0  2020/10/10 15:48
 */
@Configuration
public class IdWorkerConfig {
    @Bean
    public IdWorker createIdWorker() {
        return new IdWorker(1, 1);
    }

}
